'''
Created on 19/04/2010

@author: Mar
'''
from Instruction import *
import time


class CPUInstruction(Instruction):
    
    def __init__(self, aTime, aWord):
        self.time = aTime
        self.word = aWord
    
    def setTime(self, aTime):
        self.time = aTime 
     
    def setWord(self, aWord):
        self.word = aWord
        
    def isCPU(self):
        return True
    
    def execute(self):
        print("CPU Instruction")
        time.sleep(1)
